package ee.rawre.tafayc.util;

import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.Widget;

public class Span extends Widget {
	
	public Span(String text) {
		setElement(DOM.createSpan());
		getElement().setInnerText(text);
	}
	
	public void setStyle(String style) {
	   getElement().setClassName(style);
	}
}
